/*
 * Copyright (C) 2025 Tsingteng MicroSystem
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#ifndef _HCI_SESSION_H_
#define _HCI_SESSION_H_
#include "nfa_base.h"

tNCI_STATUS hci_session_init(void);
tNCI_STATUS hci_session_deinit(void);
void hci_reset_session_info(void);
tNCI_STATUS hci_init_all_pipe(bool is_new_session);
void hci_session_clear_all_pipes(void);
void hci_session_clear_pipes_on_ee(uint8_t host_id);
tNCI_STATUS hci_session_add_pipe(uint8_t pipe_id, uint8_t local_gate, uint8_t dest_host, uint8_t dest_gate, bool is_opened);
tNCI_STATUS hci_session_update_pipe_status(uint8_t pipe_id, bool is_opened);
tNCI_STATUS hci_session_delete_pipe(uint8_t pipe_id);
void hci_session_dump(void);

#endif
